package com.gxa.controller;


import com.gxa.common.LayR;
import com.gxa.param.MyTableParam;
import com.gxa.service.CustomerConsumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/customer/credit/consume")
public class CustomerConsumeController {

    @Autowired
    private CustomerConsumeService service;
    @PostMapping("/list/data")
    @ResponseBody
    public LayR listData(MyTableParam param){
        return service.list(param);
    }


}
